<template>
	<RouterView v-slot="{ Component }">
		<KeepAlive>
			<component :is="Component" />
		</KeepAlive>
	</RouterView>
</template>

<script setup>
	import { RouterView } from 'vue-router';
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/styles/generate.scss';
	@import '@/styles/common.scss';
	@import '@/styles/color.scss';
	@import '@/styles/padding.scss';
	@import '@/styles/margin.scss';
	@import '@/styles/width.scss';
	@import '@/styles/height.scss';

	page,
	view,
	text {
		box-sizing: border-box;
	}
</style>